﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.WindowsAzure.StorageClient;

namespace FeedReader.Shared.Data
{
    public class FeedsDataModel :TableServiceEntity
    {
        public FeedsDataModel(string partitionKey, string rowKey)
            : base(partitionKey, rowKey)
        {
        }

        public FeedsDataModel(): this(Guid.NewGuid().ToString(), String.Empty)
        {
        }
        /// <summary>
        ///  The Blog ID
        /// </summary>
        public string BlogID { get; set; }
        /// <summary>
        ///  The Title of the blog
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        ///  The description of the Blog
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        ///  The Url of the RSS Feed
        /// </summary>
        public string RssURL { get; set; }
        /// <summary>
        ///  The URL of the Html page
        /// </summary>
        public string HtmlURL { get; set; }
        /// <summary>
        ///  Is this feed RSS Cloud Enabled
        /// </summary>
        public bool CloudEnabled { get; set; }
        /// <summary>
        ///  Time stamp
        /// </summary>
        public string DateTime{get;set;}
    }
}
